package com.mecuros.handler.deduplication.builder;

import com.mecuros.common.domain.TaskInfo;
import com.mecuros.handler.domain.DeduplicationParam;

/**
 * @Classname Builder
 * @Description
 * @Date 2022/5/22 6:30 下午
 * @Created by yujianbo
 */
public interface Builder {
    String DEDUPLICATION_CONFIG_PRE = "deduplication_";
    /**
     * 根据配置构建去重参数
     *
     * @param deduplication
     * @param taskInfo
     * @return
     */
    DeduplicationParam build(String deduplication, TaskInfo taskInfo);
}
